package com.kbbywyclient.ui.contarct;

import com.kbbywyclient.data.entity.Address;
import com.kbbywyclient.data.entity.BasicInfo;
import com.kbbywyclient.data.model.base.BaseModel;
import com.kbbywyclient.ui.contarct.base.IBaseView;

import java.util.List;

/**
 * Description:
 * Created by FHW
 * on 2017/4/28
 */

public class ModifyInfoContarct {
    public interface View extends IBaseView {
        //基本资料
        void loadSucBasicInfo(BasicInfo basicInfo);

        void loadFaiBasicInfo(String errorMsg);

        //获取省市区
        void loadSucAdress(List<Address> addressList, int type);

        void loadFaiAdress(String errorMsg);

        //提交保存基本资料
        void loadSucSave(BaseModel baseModel);

        void loadFaiSave(String errorMsg);

    }

    public interface Presenter {
        void getSalesInfo(String SalesID);

        void getAddress(String provinceID, String cityID, int type);

        void saveModifyInfo(String SalesID, String TrueName, String Sex, String Position, String UserType
                , String CompanyName, String Province, String City, String Dist, String QQ);
    }
}
